src=$(wildcard *2.c)
tar=$(patsubst %2.c,%2.out,$(src))

argv= -std=c99 -g -Wall

$(tar):$(src)
	gcc $< -o $@ $(argv)

clean:
	rm -rf	*.out 

run:
	./$(tar)

gdb:
	gdb $(tar)
